<script setup>

import Service1 from "@/views/service/Service1.vue";
import Service2 from "@/views/service/Service2.vue";
import Service3 from "@/views/service/Service3.vue";
import {useRoute} from "vue-router";

const route = useRoute()
</script>

<template>
  <Service1 v-if="route.params.index==='1'"/>
  <Service2 v-if="route.params.index==='2'"/>
  <Service3 v-if="route.params.index==='3'"/>
</template>

<style scoped>

</style>